package cn.maihe.elg.operation.repository.entity;

import cn.maihe.framework.starter.mybatis.mapper.Fn;
import cn.maihe.framework.starter.mybatis.mapper.PlusEntityWrapper;

public final class SmsDOCondition {
    private PlusEntityWrapper<SmsDO> ew;

    public SmsDOCondition() {
        this.ew = new PlusEntityWrapper(SmsDO.class);
    }

    public static SmsDOCondition builder() {
        return new SmsDOCondition();
    }

    public PlusEntityWrapper<SmsDO> build() {
        return this.ew;
    }

    public SmsDOCondition or() {
        this.ew.orNew();
        return this;
    }

    public SmsDOCondition and() {
        this.ew.andNew();
        return this;
    }

    private boolean isAndOr() {
        return ew.originalSql() == null || "".equals(ew.originalSql()) ? true : ew.originalSql().endsWith("AND ()") || ew.originalSql().endsWith("OR ()");
    }

    public void clear() {
        this.ew = null;
        this.ew = new PlusEntityWrapper(SmsDO.class);
    }

    public SmsDOCondition setSqlSelect(String sqlStr) {
        ew.setSqlSelect(sqlStr);
        return this;
    }

    public SmsDOCondition orderAsc(String column) {
        ew.orderBy(true, column, true);
        return this;
    }

    public SmsDOCondition orderDesc(String column) {
        ew.orderBy(true, column, false);
        return this;
    }

    public SmsDOCondition groupBy(String column) {
        ew.groupBy(column);
        return this;
    }

    public <E, R> SmsDOCondition orderAsc(Fn<E, R> fn) {
        ew.orderAsc(fn);
        return this;
    }

    public <E, R> SmsDOCondition orderDesc(Fn<E, R> fn) {
        ew.orderDesc(fn);
        return this;
    }

    public <E, R> SmsDOCondition groupBy(Fn<E, R> fn) {
        ew.groupBy(fn);
        return this;
    }

    public SmsDOCondition exists(String sqlStr) {
        ew.exists(sqlStr);
        return this;
    }

    public SmsDOCondition notExists(String sqlStr) {
        ew.notExists(sqlStr);
        return this;
    }

    public SmsDOCondition having(String sqlStr, Object... params) {
        ew.having(sqlStr, params);
        return this;
    }

    public SmsDOCondition andIdIsNull() {
        ew.isNull("id");
        return this;
    }

    public SmsDOCondition orIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("id");
        return this;
    }

    public SmsDOCondition andIdIsNotNull() {
        ew.isNotNull("id");
        return this;
    }

    public SmsDOCondition orIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("id");
        return this;
    }

    public SmsDOCondition andIdEq(Object value) {
        ew.eq("id", value);
        return this;
    }

    public SmsDOCondition orIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("id", value);
        return this;
    }

    public SmsDOCondition andIdNe(Object value) {
        ew.ne("id", value);
        return this;
    }

    public SmsDOCondition orIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("id", value);
        return this;
    }

    public SmsDOCondition andIdGt(Object value) {
        ew.gt("id", value);
        return this;
    }

    public SmsDOCondition orIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("id", value);
        return this;
    }

    public SmsDOCondition andIdGe(Object value) {
        ew.ge("id", value);
        return this;
    }

    public SmsDOCondition orIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("id", value);
        return this;
    }

    public SmsDOCondition andIdLt(Object value) {
        ew.lt("id", value);
        return this;
    }

    public SmsDOCondition orIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("id", value);
        return this;
    }

    public SmsDOCondition andIdLe(Object value) {
        ew.le("id", value);
        return this;
    }

    public SmsDOCondition orIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("id", value);
        return this;
    }

    public SmsDOCondition andIdIn(Object... value) {
        ew.in("id", value);
        return this;
    }

    public SmsDOCondition orIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("id", value);
        return this;
    }

    public SmsDOCondition andIdNotIn(Object... value) {
        ew.notIn("id", value);
        return this;
    }

    public SmsDOCondition orIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("id", value);
        return this;
    }

    public SmsDOCondition andIdBetween(Object value, Object value1) {
        ew.between("id", value, value1);
        return this;
    }

    public SmsDOCondition orIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("id", value, value1);
        return this;
    }

    public SmsDOCondition andIdNotBetween(Object value, Object value1) {
        ew.notBetween("id", value, value1);
        return this;
    }

    public SmsDOCondition orIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("id", value, value1);
        return this;
    }

    public SmsDOCondition andIdLike(String value) {
        ew.like("id", value);
        return this;
    }

    public SmsDOCondition orIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("id", value);
        return this;
    }

    public SmsDOCondition andIdNotLike(String value) {
        ew.notLike("id", value);
        return this;
    }

    public SmsDOCondition orIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("id", value);
        return this;
    }

    public SmsDOCondition andEventIsNull() {
        ew.isNull("event");
        return this;
    }

    public SmsDOCondition orEventIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("event");
        return this;
    }

    public SmsDOCondition andEventIsNotNull() {
        ew.isNotNull("event");
        return this;
    }

    public SmsDOCondition orEventIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("event");
        return this;
    }

    public SmsDOCondition andEventEq(Object value) {
        ew.eq("event", value);
        return this;
    }

    public SmsDOCondition orEventEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("event", value);
        return this;
    }

    public SmsDOCondition andEventNe(Object value) {
        ew.ne("event", value);
        return this;
    }

    public SmsDOCondition orEventNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("event", value);
        return this;
    }

    public SmsDOCondition andEventGt(Object value) {
        ew.gt("event", value);
        return this;
    }

    public SmsDOCondition orEventGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("event", value);
        return this;
    }

    public SmsDOCondition andEventGe(Object value) {
        ew.ge("event", value);
        return this;
    }

    public SmsDOCondition orEventGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("event", value);
        return this;
    }

    public SmsDOCondition andEventLt(Object value) {
        ew.lt("event", value);
        return this;
    }

    public SmsDOCondition orEventLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("event", value);
        return this;
    }

    public SmsDOCondition andEventLe(Object value) {
        ew.le("event", value);
        return this;
    }

    public SmsDOCondition orEventLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("event", value);
        return this;
    }

    public SmsDOCondition andEventIn(Object... value) {
        ew.in("event", value);
        return this;
    }

    public SmsDOCondition orEventIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("event", value);
        return this;
    }

    public SmsDOCondition andEventNotIn(Object... value) {
        ew.notIn("event", value);
        return this;
    }

    public SmsDOCondition orEventNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("event", value);
        return this;
    }

    public SmsDOCondition andEventBetween(Object value, Object value1) {
        ew.between("event", value, value1);
        return this;
    }

    public SmsDOCondition orEventBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("event", value, value1);
        return this;
    }

    public SmsDOCondition andEventNotBetween(Object value, Object value1) {
        ew.notBetween("event", value, value1);
        return this;
    }

    public SmsDOCondition orEventNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("event", value, value1);
        return this;
    }

    public SmsDOCondition andEventLike(String value) {
        ew.like("event", value);
        return this;
    }

    public SmsDOCondition orEventLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("event", value);
        return this;
    }

    public SmsDOCondition andEventNotLike(String value) {
        ew.notLike("event", value);
        return this;
    }

    public SmsDOCondition orEventNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("event", value);
        return this;
    }

    public SmsDOCondition andMobileIsNull() {
        ew.isNull("mobile");
        return this;
    }

    public SmsDOCondition orMobileIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("mobile");
        return this;
    }

    public SmsDOCondition andMobileIsNotNull() {
        ew.isNotNull("mobile");
        return this;
    }

    public SmsDOCondition orMobileIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("mobile");
        return this;
    }

    public SmsDOCondition andMobileEq(Object value) {
        ew.eq("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileNe(Object value) {
        ew.ne("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileGt(Object value) {
        ew.gt("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileGe(Object value) {
        ew.ge("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileLt(Object value) {
        ew.lt("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileLe(Object value) {
        ew.le("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileIn(Object... value) {
        ew.in("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileNotIn(Object... value) {
        ew.notIn("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileBetween(Object value, Object value1) {
        ew.between("mobile", value, value1);
        return this;
    }

    public SmsDOCondition orMobileBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("mobile", value, value1);
        return this;
    }

    public SmsDOCondition andMobileNotBetween(Object value, Object value1) {
        ew.notBetween("mobile", value, value1);
        return this;
    }

    public SmsDOCondition orMobileNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("mobile", value, value1);
        return this;
    }

    public SmsDOCondition andMobileLike(String value) {
        ew.like("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("mobile", value);
        return this;
    }

    public SmsDOCondition andMobileNotLike(String value) {
        ew.notLike("mobile", value);
        return this;
    }

    public SmsDOCondition orMobileNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("mobile", value);
        return this;
    }

    public SmsDOCondition andCodeIsNull() {
        ew.isNull("code");
        return this;
    }

    public SmsDOCondition orCodeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("code");
        return this;
    }

    public SmsDOCondition andCodeIsNotNull() {
        ew.isNotNull("code");
        return this;
    }

    public SmsDOCondition orCodeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("code");
        return this;
    }

    public SmsDOCondition andCodeEq(Object value) {
        ew.eq("code", value);
        return this;
    }

    public SmsDOCondition orCodeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("code", value);
        return this;
    }

    public SmsDOCondition andCodeNe(Object value) {
        ew.ne("code", value);
        return this;
    }

    public SmsDOCondition orCodeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("code", value);
        return this;
    }

    public SmsDOCondition andCodeGt(Object value) {
        ew.gt("code", value);
        return this;
    }

    public SmsDOCondition orCodeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("code", value);
        return this;
    }

    public SmsDOCondition andCodeGe(Object value) {
        ew.ge("code", value);
        return this;
    }

    public SmsDOCondition orCodeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("code", value);
        return this;
    }

    public SmsDOCondition andCodeLt(Object value) {
        ew.lt("code", value);
        return this;
    }

    public SmsDOCondition orCodeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("code", value);
        return this;
    }

    public SmsDOCondition andCodeLe(Object value) {
        ew.le("code", value);
        return this;
    }

    public SmsDOCondition orCodeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("code", value);
        return this;
    }

    public SmsDOCondition andCodeIn(Object... value) {
        ew.in("code", value);
        return this;
    }

    public SmsDOCondition orCodeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("code", value);
        return this;
    }

    public SmsDOCondition andCodeNotIn(Object... value) {
        ew.notIn("code", value);
        return this;
    }

    public SmsDOCondition orCodeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("code", value);
        return this;
    }

    public SmsDOCondition andCodeBetween(Object value, Object value1) {
        ew.between("code", value, value1);
        return this;
    }

    public SmsDOCondition orCodeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("code", value, value1);
        return this;
    }

    public SmsDOCondition andCodeNotBetween(Object value, Object value1) {
        ew.notBetween("code", value, value1);
        return this;
    }

    public SmsDOCondition orCodeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("code", value, value1);
        return this;
    }

    public SmsDOCondition andCodeLike(String value) {
        ew.like("code", value);
        return this;
    }

    public SmsDOCondition orCodeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("code", value);
        return this;
    }

    public SmsDOCondition andCodeNotLike(String value) {
        ew.notLike("code", value);
        return this;
    }

    public SmsDOCondition orCodeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("code", value);
        return this;
    }

    public SmsDOCondition andTimesIsNull() {
        ew.isNull("times");
        return this;
    }

    public SmsDOCondition orTimesIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("times");
        return this;
    }

    public SmsDOCondition andTimesIsNotNull() {
        ew.isNotNull("times");
        return this;
    }

    public SmsDOCondition orTimesIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("times");
        return this;
    }

    public SmsDOCondition andTimesEq(Object value) {
        ew.eq("times", value);
        return this;
    }

    public SmsDOCondition orTimesEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("times", value);
        return this;
    }

    public SmsDOCondition andTimesNe(Object value) {
        ew.ne("times", value);
        return this;
    }

    public SmsDOCondition orTimesNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("times", value);
        return this;
    }

    public SmsDOCondition andTimesGt(Object value) {
        ew.gt("times", value);
        return this;
    }

    public SmsDOCondition orTimesGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("times", value);
        return this;
    }

    public SmsDOCondition andTimesGe(Object value) {
        ew.ge("times", value);
        return this;
    }

    public SmsDOCondition orTimesGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("times", value);
        return this;
    }

    public SmsDOCondition andTimesLt(Object value) {
        ew.lt("times", value);
        return this;
    }

    public SmsDOCondition orTimesLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("times", value);
        return this;
    }

    public SmsDOCondition andTimesLe(Object value) {
        ew.le("times", value);
        return this;
    }

    public SmsDOCondition orTimesLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("times", value);
        return this;
    }

    public SmsDOCondition andTimesIn(Object... value) {
        ew.in("times", value);
        return this;
    }

    public SmsDOCondition orTimesIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("times", value);
        return this;
    }

    public SmsDOCondition andTimesNotIn(Object... value) {
        ew.notIn("times", value);
        return this;
    }

    public SmsDOCondition orTimesNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("times", value);
        return this;
    }

    public SmsDOCondition andTimesBetween(Object value, Object value1) {
        ew.between("times", value, value1);
        return this;
    }

    public SmsDOCondition orTimesBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("times", value, value1);
        return this;
    }

    public SmsDOCondition andTimesNotBetween(Object value, Object value1) {
        ew.notBetween("times", value, value1);
        return this;
    }

    public SmsDOCondition orTimesNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("times", value, value1);
        return this;
    }

    public SmsDOCondition andTimesLike(String value) {
        ew.like("times", value);
        return this;
    }

    public SmsDOCondition orTimesLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("times", value);
        return this;
    }

    public SmsDOCondition andTimesNotLike(String value) {
        ew.notLike("times", value);
        return this;
    }

    public SmsDOCondition orTimesNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("times", value);
        return this;
    }

    public SmsDOCondition andCreateTimeIsNull() {
        ew.isNull("create_time");
        return this;
    }

    public SmsDOCondition orCreateTimeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("create_time");
        return this;
    }

    public SmsDOCondition andCreateTimeIsNotNull() {
        ew.isNotNull("create_time");
        return this;
    }

    public SmsDOCondition orCreateTimeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("create_time");
        return this;
    }

    public SmsDOCondition andCreateTimeEq(Object value) {
        ew.eq("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeNe(Object value) {
        ew.ne("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeGt(Object value) {
        ew.gt("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeGe(Object value) {
        ew.ge("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeLt(Object value) {
        ew.lt("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeLe(Object value) {
        ew.le("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeIn(Object... value) {
        ew.in("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeNotIn(Object... value) {
        ew.notIn("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeBetween(Object value, Object value1) {
        ew.between("create_time", value, value1);
        return this;
    }

    public SmsDOCondition orCreateTimeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("create_time", value, value1);
        return this;
    }

    public SmsDOCondition andCreateTimeNotBetween(Object value, Object value1) {
        ew.notBetween("create_time", value, value1);
        return this;
    }

    public SmsDOCondition orCreateTimeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("create_time", value, value1);
        return this;
    }

    public SmsDOCondition andCreateTimeLike(String value) {
        ew.like("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("create_time", value);
        return this;
    }

    public SmsDOCondition andCreateTimeNotLike(String value) {
        ew.notLike("create_time", value);
        return this;
    }

    public SmsDOCondition orCreateTimeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("create_time", value);
        return this;
    }

    public SmsDOCondition andContentIsNull() {
        ew.isNull("content");
        return this;
    }

    public SmsDOCondition orContentIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("content");
        return this;
    }

    public SmsDOCondition andContentIsNotNull() {
        ew.isNotNull("content");
        return this;
    }

    public SmsDOCondition orContentIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("content");
        return this;
    }

    public SmsDOCondition andContentEq(Object value) {
        ew.eq("content", value);
        return this;
    }

    public SmsDOCondition orContentEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("content", value);
        return this;
    }

    public SmsDOCondition andContentNe(Object value) {
        ew.ne("content", value);
        return this;
    }

    public SmsDOCondition orContentNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("content", value);
        return this;
    }

    public SmsDOCondition andContentGt(Object value) {
        ew.gt("content", value);
        return this;
    }

    public SmsDOCondition orContentGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("content", value);
        return this;
    }

    public SmsDOCondition andContentGe(Object value) {
        ew.ge("content", value);
        return this;
    }

    public SmsDOCondition orContentGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("content", value);
        return this;
    }

    public SmsDOCondition andContentLt(Object value) {
        ew.lt("content", value);
        return this;
    }

    public SmsDOCondition orContentLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("content", value);
        return this;
    }

    public SmsDOCondition andContentLe(Object value) {
        ew.le("content", value);
        return this;
    }

    public SmsDOCondition orContentLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("content", value);
        return this;
    }

    public SmsDOCondition andContentIn(Object... value) {
        ew.in("content", value);
        return this;
    }

    public SmsDOCondition orContentIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("content", value);
        return this;
    }

    public SmsDOCondition andContentNotIn(Object... value) {
        ew.notIn("content", value);
        return this;
    }

    public SmsDOCondition orContentNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("content", value);
        return this;
    }

    public SmsDOCondition andContentBetween(Object value, Object value1) {
        ew.between("content", value, value1);
        return this;
    }

    public SmsDOCondition orContentBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("content", value, value1);
        return this;
    }

    public SmsDOCondition andContentNotBetween(Object value, Object value1) {
        ew.notBetween("content", value, value1);
        return this;
    }

    public SmsDOCondition orContentNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("content", value, value1);
        return this;
    }

    public SmsDOCondition andContentLike(String value) {
        ew.like("content", value);
        return this;
    }

    public SmsDOCondition orContentLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("content", value);
        return this;
    }

    public SmsDOCondition andContentNotLike(String value) {
        ew.notLike("content", value);
        return this;
    }

    public SmsDOCondition orContentNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("content", value);
        return this;
    }

    public SmsDOCondition andSmsTypeIsNull() {
        ew.isNull("sms_type");
        return this;
    }

    public SmsDOCondition orSmsTypeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("sms_type");
        return this;
    }

    public SmsDOCondition andSmsTypeIsNotNull() {
        ew.isNotNull("sms_type");
        return this;
    }

    public SmsDOCondition orSmsTypeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("sms_type");
        return this;
    }

    public SmsDOCondition andSmsTypeEq(Object value) {
        ew.eq("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeNe(Object value) {
        ew.ne("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeGt(Object value) {
        ew.gt("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeGe(Object value) {
        ew.ge("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeLt(Object value) {
        ew.lt("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeLe(Object value) {
        ew.le("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeIn(Object... value) {
        ew.in("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeNotIn(Object... value) {
        ew.notIn("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeBetween(Object value, Object value1) {
        ew.between("sms_type", value, value1);
        return this;
    }

    public SmsDOCondition orSmsTypeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("sms_type", value, value1);
        return this;
    }

    public SmsDOCondition andSmsTypeNotBetween(Object value, Object value1) {
        ew.notBetween("sms_type", value, value1);
        return this;
    }

    public SmsDOCondition orSmsTypeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("sms_type", value, value1);
        return this;
    }

    public SmsDOCondition andSmsTypeLike(String value) {
        ew.like("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("sms_type", value);
        return this;
    }

    public SmsDOCondition andSmsTypeNotLike(String value) {
        ew.notLike("sms_type", value);
        return this;
    }

    public SmsDOCondition orSmsTypeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("sms_type", value);
        return this;
    }

    public SmsDOCondition andResCodeIsNull() {
        ew.isNull("res_code");
        return this;
    }

    public SmsDOCondition orResCodeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("res_code");
        return this;
    }

    public SmsDOCondition andResCodeIsNotNull() {
        ew.isNotNull("res_code");
        return this;
    }

    public SmsDOCondition orResCodeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("res_code");
        return this;
    }

    public SmsDOCondition andResCodeEq(Object value) {
        ew.eq("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeNe(Object value) {
        ew.ne("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeGt(Object value) {
        ew.gt("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeGe(Object value) {
        ew.ge("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeLt(Object value) {
        ew.lt("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeLe(Object value) {
        ew.le("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeIn(Object... value) {
        ew.in("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeNotIn(Object... value) {
        ew.notIn("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeBetween(Object value, Object value1) {
        ew.between("res_code", value, value1);
        return this;
    }

    public SmsDOCondition orResCodeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("res_code", value, value1);
        return this;
    }

    public SmsDOCondition andResCodeNotBetween(Object value, Object value1) {
        ew.notBetween("res_code", value, value1);
        return this;
    }

    public SmsDOCondition orResCodeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("res_code", value, value1);
        return this;
    }

    public SmsDOCondition andResCodeLike(String value) {
        ew.like("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("res_code", value);
        return this;
    }

    public SmsDOCondition andResCodeNotLike(String value) {
        ew.notLike("res_code", value);
        return this;
    }

    public SmsDOCondition orResCodeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("res_code", value);
        return this;
    }
}